package com.zzptc.sky.bdsjws.fragments;

import android.support.v7.widget.RecyclerView;

import com.zzptc.sky.bdsjws.R;
import com.zzptc.sky.bdsjws.adapter.ContactAdapter;
import com.zzptc.sky.bdsjws.fragments.base.BaseFragmentOneSos;
import com.zzptc.sky.bdsjws.utils.MyUtil;
import com.zzptc.sky.bdsjws.vo.Contacts;

import java.util.List;

import butterknife.BindView;
import butterknife.Unbinder;

/**
 * Created by Administrator on 2017/6/5.
 */

public class ShowAllContactFragment extends BaseFragmentOneSos {
    @BindView(R.id.rv_show_contact)
    RecyclerView rvShowContact;
    Unbinder unbinder;
    @Override
    public int getContentXml() {
        return R.layout.show_all_contact_fragment;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {
        //得到数据
        List<Contacts> list= MyUtil.getAllContacts();
        //写适配器类
        ContactAdapter contactAdapter=new ContactAdapter(list);
        //布局管理者
    }
}
